Bitmap for WPF
Create(RenderTarget,Bitmap,Nullable<BitmapBrushProperties>,Nullable<BrushProperties>) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > BitmapBrush クラス > Create メソッド : Create(RenderTarget,Bitmap,Nullable<BitmapBrushProperties>,Nullable<BrushProperties>) メソッド
an instance of RenderTarget
The bitmap contents of the new brush.
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamphorizontal and vertical extend modes and the BitmapInterpolationMode.Linearinterpolation mode.
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
Creates an BitmapBrushfrom the specified bitmap.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal renderTarget As RenderTarget, _
   ByVal bitmap As Bitmap, _
   ByVal bitmapBrushProperties As System.Nullable(Of BitmapBrushProperties), _
   ByVal brushProperties As System.Nullable(Of BrushProperties) _
) As BitmapBrush
public static BitmapBrush Create( 
   RenderTarget renderTarget,
   Bitmap bitmap,
   System.Nullable<BitmapBrushProperties> bitmapBrushProperties,
   System.Nullable<BrushProperties> brushProperties
)

パラメータ

renderTarget
an instance of RenderTarget
bitmap
The bitmap contents of the new brush.
bitmapBrushProperties
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamphorizontal and vertical extend modes and the BitmapInterpolationMode.Linearinterpolation mode.
brushProperties
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
参照

BitmapBrush クラス
BitmapBrush メンバ
オーバーロード一覧